package com.hyperboost.backend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hyperboost.common.annotation.Excel;
import com.hyperboost.common.core.domain.BaseEntity;

/**
 * 分享列表对象 tb_share
 * 
 * @author LXY
 * @date 2025-04-19
 */
public class Share extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分享主键ID，自增唯一标识 */
    private Long shareId;

    /** 分享用户 */
    @Excel(name = "分享用户")
    private Long userId;

    /** 分享内容 */
    @Excel(name = "分享内容")
    private String content;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long viewCount;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Long commentCount;

    /** 分享状态 */
    @Excel(name = "分享状态")
    private Long shareStatus;

    public void setShareId(Long shareId) 
    {
        this.shareId = shareId;
    }

    public Long getShareId() 
    {
        return shareId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setViewCount(Long viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Long getViewCount() 
    {
        return viewCount;
    }

    public void setCommentCount(Long commentCount) 
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount() 
    {
        return commentCount;
    }

    public void setShareStatus(Long shareStatus) 
    {
        this.shareStatus = shareStatus;
    }

    public Long getShareStatus() 
    {
        return shareStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shareId", getShareId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("viewCount", getViewCount())
            .append("commentCount", getCommentCount())
            .append("shareStatus", getShareStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
